package com.drg.center.entity.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Author: zhangxilin
 * @Date: 2023/10/26
 */
@ApiModel("字典类型编辑DTO")
@Data
public class SysDictEditDTO implements Serializable {

    @ApiModelProperty("id")
    @NotNull(message = "ID不能为空")
    private Long id;

    @ApiModelProperty("类型名称")
    @NotBlank(message = "请填写字典名称" )
    private String dictName;

    @ApiModelProperty("是否系统字典")
    private Boolean isSys;

    @ApiModelProperty("备注")
    private String remark;
}
